package org.myorg.v3;

/*import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.GradientPaint;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class Test {
  static public void main(String args[]) throws Exception {
    try {
      int width = 200, height = 200;

      // TYPE_INT_ARGB specifies the image format: 8-bit RGBA packed
      // into integer pixels
      BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);

      Graphics2D ig2 = bi.createGraphics();


      Font font = new Font("TimesRoman", Font.BOLD, 20);
      ig2.setFont(font);
      String message = "www.java2s.com!";
      FontMetrics fontMetrics = ig2.getFontMetrics();
      int stringWidth = fontMetrics.stringWidth(message);
      int stringHeight = fontMetrics.getAscent();
      ig2.setPaint(Color.black);
      ig2.drawString(message, (width - stringWidth) / 2, height / 2 + stringHeight / 4);

      ImageIO.write(bi, "PNG", new File("./yourImageName.PNG"));
      ImageIO.write(bi, "JPEG", new File("c:\\yourImageName.JPG"));
      ImageIO.write(bi, "gif", new File("c:\\yourImageName.GIF"));
      ImageIO.write(bi, "BMP", new File("c:\\yourImageName.BMP"));
      
    } catch (IOException ie) {
      ie.printStackTrace();
    }

  }
}*/
/*import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartFrame;
import org.jfree.chart.JFreeChart;
import org.jfree.data.general.DefaultPieDataset;
public class JfreeChartTest {
 *//**
  * @param args
  *//*
 public static void main(String[] args) {
  // ceate a dataset
  DefaultPieDataset data = new DefaultPieDataset();
  data.setValue("Category 1", 40);
  data.setValue("Category 2", 40);
  data.setValue("Category 3", 40);
  
  // ceate a chart
  JFreeChart chart = ChartFactory.createPieChart(
    "Sample Pie Chart",
    data,
    true,
    true,
    false
    );
  
  // ceate and display a frame
  ChartFrame frame = new ChartFrame("First", chart);
  frame.pack();
  frame.setVisible(true);
 }
}*/




public class Test {
	  static public void main(String args[]) {
		  System.out.println("begin");
		  
		  double x = Math.log(16d)/Math.log(2d);
		  
		  String test = "abcdef";
		  test.toCharArray()[0]='e';
		  
		  System.out.println(test);
		  System.out.println("endx");
	  }
	  
}

